<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/topMain'); ?>
    <div class="container" id="content">
       <div class="header">
        <?php if(Yii::app()->controller->id == "site" && $this->getAction()->getId() == "index"):?>
            <?php $this->widget('PicturesNews');?>
        <?php endif;?>
        </div>
        <?php if(isset($this->breadcrumbs)):?>
	        <?php  $this->widget('BreadcrumbBox',array(
                    'menu'=>$this->breadcrumbs,
            )); ?><!-- breadcrumbs -->
            <?php endif?>
	    <?php echo $content; ?>
</div><!-- content -->
<?php $this->endContent(); ?>
